package com.gs.process.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Map;

/**
 * @author gs
 * @date create in 2020/12/11 15:37
 */
@Data
@TableName("ps_approval")
public class Approval {
    @TableId(type = IdType.INPUT)
    private Long sid;
    private Long userId;
    private String createDate;
    private Long processId;
    private String current;
    private String status;
    private String targetId;
    private String primaryKey;
    private String target;
    private String appoint;

    @TableField(exist = false)
    private String processName;
    @TableField(exist = false)
    private String submitPerson;
    @TableField(exist = false)
    private String currentNode;
    @TableField(exist = false)
    private Map<String, Object> targetData;

    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;
}
